package com.chenjian.codingstylesecurity.dao;

import com.chenjian.codingstylesecurity.entity.MyUser;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author chenjian
 * @Package
 * @Description:
 * @date 2019/1/8 0:05
 */
public interface UserDao extends JpaRepository<MyUser, Long> {

    List<MyUser> findByUsername(String username);
}
